// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity;

import android.view.View;
import android.view.inputmethod.InputMethodManager;
import android.widget.*;
import com.nnee.p_pr.p_activity.p_view.cls_FlingGallery;
import com.nnee.p_pr.p_c.cls_l;
import com.nnee.p_pr.p_d.cls_c;

// Referenced classes of package com.nnee.p_pr.p_activity:
//            ArticleGalleryActivity

class cls_cb
    implements android.view.View.OnClickListener
{

	cls_cb(cls_ArticleGalleryActivity articlegalleryactivity)
    { super();
        a = articlegalleryactivity;
       
    }

    public void onClick(View view)
    {
        switch(view.getId())
        {
        	case 2131558409:
        		 if(((Integer)a.a(-1, cls_ArticleGalleryActivity.q, null)).intValue() >= 0)
        	        {
        	            int j = ((Integer)a.a(-1, cls_ArticleGalleryActivity.u, null)).intValue();
        	            cls_ArticleGalleryActivity cls_ArticleGalleryActivity = a;
        	            int k;
        	            if(j == 0)
        	                k = 1;
        	            else
        	                k = 0;
        	            cls_ArticleGalleryActivity.a(a, k);
        	        }
        		break;
        	case 2131558469:
        		String s = cls_ArticleGalleryActivity.i(a).getEditableText().toString();
                android.os.IBinder ibinder = cls_ArticleGalleryActivity.i(a).getWindowToken();
                cls_ArticleGalleryActivity.j(a).hideSoftInputFromWindow(ibinder, 0);
                if(cls_ArticleGalleryActivity.d(a) != null)
                {
                    cls_ArticleGalleryActivity.d(a).a(-1, cls_ArticleGalleryActivity.o, s);
                    int i = cls_l.c(a);
                    boolean flag = com.nnee.p_pr.p_activity.cls_ArticleGalleryActivity.l(a).isChecked();
                    if(i > 0 && flag)
                        cls_ArticleGalleryActivity.d(a).a(-1, cls_ArticleGalleryActivity.C, s);
                }
                cls_ArticleGalleryActivity.i(a).setText(null);
                cls_c.a(a.p(), 1732);
        		break;
        	case 2131558473:
        		cls_ArticleGalleryActivity.e(a);
        		break;
        	case 2131558475:
        		cls_ArticleGalleryActivity.f(a);
        		break;
        	case 2131558477:
        		cls_ArticleGalleryActivity.g(a).setVisibility(8);
                cls_ArticleGalleryActivity.h(a).setVisibility(0);
                cls_ArticleGalleryActivity.i(a).requestFocus();
                cls_ArticleGalleryActivity.j(a).showSoftInput(cls_ArticleGalleryActivity.i(a), 0);
        		break;
        	case 2131558479:
        		if(cls_ArticleGalleryActivity.k(a))
                {
                    if(cls_ArticleGalleryActivity.d(a) != null)
                        cls_ArticleGalleryActivity.d(a).a(-1, cls_ArticleGalleryActivity.j, Integer.valueOf(0));
                } else
                if(cls_ArticleGalleryActivity.d(a) != null)
                    cls_ArticleGalleryActivity.d(a).a(-1, cls_ArticleGalleryActivity.i, Integer.valueOf(0));
        		break;
        	case 2131558481:
        		 if(cls_ArticleGalleryActivity.d(a) != null)
        	            cls_ArticleGalleryActivity.d(a).a(-1, cls_ArticleGalleryActivity.m, Integer.valueOf(0));
        		break;
        	default:
        		break;
        }
        
    }

    final cls_ArticleGalleryActivity a;
}
